package com.mmd.admin.model.pojo.result;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mmd.admin.model.pojo.entity.EnsureMoneySet;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.util.List;

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@ApiModel(description = "服务商身份基础信息")
public class AgencyIdentityInfoResult {

    @ApiModelProperty(value = "身份id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "0旧身份1新身份")
    private Integer type;

    @ApiModelProperty("代理配置数据")
    private List<EnsureMoneySet> ensureMoneySets;

    @ApiModelProperty("限制服务商总人数")
    private Integer facilitatorNumber;
}
